<div>
	<div class="margin-bottom">
        <button type="button" class="layui-btn layui-btn-normal addEvent" modal="#carousel_add">添加</button>
        <button type="button" class="layui-btn updateEvent" modal="#carousel_update">修改</button>
        <button type="button" class="layui-btn layui-btn-danger deleteEvent" >删除</button>
    </div>
    <div id="carousel_add" class="hide">
        <form class="layui-form padding-form" action="">
            <div class="layui-form-item">
                <label class="layui-form-label">名称</label>
                <div class="layui-input-block ">
                    <input type="text" name="name" required  lay-verify="required" placeholder="请输入标题" autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">描述</label>
                <div class="layui-input-block ">
                    <input type="text" name="description" required  lay-verify="required" placeholder="请输入标题" autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item layui-row">
                <div class="layui-col-xs9 layui-inline">
                    <label class="layui-form-label">原图上传</label>
                    <div class="layui-input-block ">
                        <input type="text" name="image_url" required  lay-verify="required" placeholder="请输入标题" autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-col-xs1 layui-inline">
                    <button type="button"  class="layui-btn layui-btn-primary image-upload" data-type="images">
                        <i class="layui-icon">&#xe67c;</i>上传图片
                    </button>
                </div>
            </div>
            <div class="layui-form-item layui-row">
                <div class="layui-col-xs9 layui-inline">
                    <label class="layui-form-label">略缩图上传</label>
                    <div class="layui-input-block ">
                        <input type="text" name="image_thumb_url" required  lay-verify="required" placeholder="请输入标题" autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-col-xs1 layui-inline">
                    <button type="button"  class="layui-btn layui-btn-primary image-upload" data-type="images">
                        <i class="layui-icon">&#xe67c;</i>上传图片
                    </button>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">来源</label>
                <div class="layui-input-block">
                    <input type="radio" name="source" value="1" title="阿里图床">
                    <input type="radio" name="source" value="2" title="微博图床" checked>
                </div>
            </div>

            <div class="layui-form-item">
                <div class="layui-input-block input-foot">
                    <button class="layui-btn" lay-submit lay-filter="add">立即提交</button>
                    <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                </div>
            </div>
        </form>
    </div>
</div>
<style type="text/css">
	
</style>
<script type="text/javascript">
	
</script>